<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

<form action="" method="post">

    <p>
        书名： <input type="text" name="title">
    </p>

    <p>
        出版社：
        <select name="pub_id">
            {% for publisher in all_publishers %}
                <option value="{{ publisher.pk }}"> {{ publisher.name }} </option>
            {% endfor %}

        </select>

    </p>
    <button>提交</button>
</form>

</body>
</html>